package designPattern.structuralPattern.composite;

/**
 * @author wei.zhao
 * @description: 抽象构件角色
 * @date 2021年12月16日 17:11
 */
public abstract class File {

    private String name;

    public File(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void display();

}
